<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>纹身大咖图库</title>
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link href="/css/style.css" rel="stylesheet">
    <script src="/js/dev.min.js"></script>
    <script src="/js/layout.js"></script>
    <script>
    </script>
</head>
<body>

<nav>
    <div class="flu-main">
        <a href="/"><img src="/img/logo.png" alt="纹身大咖图库"></a>
    </div>
</nav>

<div class="tips">
    <p>Tips : 电脑上百度搜索"纹身大咖图库"可以下载更高清图片哦！</p>
</div>

<div id="main">

    <div class="flu-main">
        <div class="banner"></div>
    </div>

    <div class="flu-main" id="error">
        <div>

            {{if code == 404 }}
            <h1>根本没有这个页面</h1>
            {{else if code == 500}}
            <h1>服务器发生了一点小故障</h1>
            {{else}}
            <h1>{{message}}</h1>
            {{/if}}

            <p>不如先看看其他图片吧</p>
            <a href="/" class="link">前往图库，GO！</a>
        </div>

    </div>

    <div class="flu-main">
        <h2>- 热门标签 -</h2>
    </div>

    <div class="flu-main tagsLibrary">
        {{each tagsLibrary as tags tagsLabel}}
        <div>
            <span class="tagsLabel">
                <span>{{tagsLabel}}</span>
            </span>
            {{each tags.split('#') as t}}
            {{if t == tag}}
            <span class="tags active">{{t}}</span>
            {{else}}
            <a href="/{{t}}_1.html" class="tags">{{t}}</a>
            {{/if}}
            {{/each}}
        </div>
        {{/each}}
    </div>
    <div class="flu-main hr"></div>

    {{if recommend.length>0}}
    <div class="flu-main">
        <h2>- 精彩推荐 -</h2>

        <div class="recommend">
            {{each recommend as el}}

            <div class="node">
                <a class="cover" href="/detail_{{el._id}}.html">
                    <h4>{{el.content}}</h4>

                    <p>{{el.tagstring}}</p>
                </a>
                <a href="/detail_{{el._id}}.html">
                    <img src="{{el.image_urls[0]}}?imageView2/1/w/320/h/320/format/jpg/q/90">
                </a>
            </div>

            {{/each}}
        </div>
    </div>
    <div class="flu-main hr"></div>
    {{/if}}

</div>

<footer>
    <div class="flu-main">
        <div class="content">
            <div class="footer-block">
                <h5>加入我们
                    <small>JOINUS</small>
                </h5>
                <p>hr@wenshendaka.com</p>
            </div>
            <div class="footer-block">
                <h5>商务合作
                    <small>BUSINESS</small>
                </h5>
                <p>bd@wenshendaka.com</p>
            </div>
            <div class="footer-info">
                <h6>天津微蜜科技有限公司</h6>

                <p><b>weimiTechnology Ltd.</b>©2014utodo.cn</p>

                <a href="https://beian.miit.gov.cn/"><p>津ICP备2022006503号-5</p></a>

                <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=12010402001684" style="display:inline-block;height:20px;line-height:20px;"><img src="/img/beian.png" style="float:left;"/><p style="float:left; height:20px;line-height:20px;">津公网安备 12010402001684号</p></a>

            </div>
        </div>
    </div>
</footer>

</body>
</html>
